package com.pactera.madp.cp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pactera.madp.common.core.util.R;
import com.pactera.madp.cp.api.dto.marketing.MarketingClassificationCreateDTO;
import com.pactera.madp.cp.api.dto.marketing.MarketingClassificationUpdateDTO;
import com.pactera.madp.cp.api.entity.marketing.MarketingClassificationEntity;
import com.pactera.madp.cp.api.vo.marketing.MarketingClassificationVO;

import java.util.List;

public interface MarketingClassificationService extends IService<MarketingClassificationEntity> {

   /**
    * 新增
    *
    * @param dto
    * @return
    */
   boolean insert( MarketingClassificationCreateDTO dto);

   /**
    * 编辑
    *
    * @param dto
    * @return
    */
   boolean put( MarketingClassificationUpdateDTO dto);

   /**
    * 删除
    *
    * @param id
    * @return
    */
   R removeById(Integer id);

   List<MarketingClassificationVO> listAll();

   List<MarketingClassificationVO> listAllWechat();

}
